<template>
	<u-navbar :title="title" :title-bold="true" :height="height" :is-fixed="false" :is-back="isBlack" :border-bottom="false"
		:background="{background: 'none' }" title-color="#333333" back-icon-color="#333333" :custom-back="handleBack">

	</u-navbar>
</template>
<script lang="ts" setup>
	import { ref } from "vue";

	defineProps({
		title:{
			type: String,
			default: ""
		},
		isBlack: {
			type: Boolean,
			default: true
		},
		height:{
			type: Number,
			default: 85
		}
	})
	
	const handleBack =()=>{
		uni.navigateBack({
			delta: 1
		});
	}
</script>